Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vshn mariadb backups #11

Merged
merged 1 commit into from
Jun 20, 2024
Merged

Add vshn mariadb backups #11

merged 1 commit into from
Jun 20, 2024

Conversation

zugao
Copy link
Contributor

@zugao zugao commented Jun 18, 2024

Summary

  • This PR enables MariaDB customer backups via the apisserver

Checklist

  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog
  • Update tests.
  • Link this PR to related issues.

@zugao zugao requested review from a team, Kidswiss, TheBigLee and wejdross and removed request for a team June 19, 2024 11:24
Copy link
Collaborator

@Kidswiss Kidswiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a pity we can't make this more generic... a lot of copy-pasting happening here.

I just have one nitpick, I leave it up to you to change it or not.

cmd/apiserver.go Show resolved Hide resolved
@zugao
Copy link
Contributor Author

zugao commented Jun 19, 2024

It's a pity we can't make this more generic... a lot of copy-pasting happening here.

I also feel the same. There is definitely way to abstract it further with functions or maybe even using types as arguments, the question is, do we really want to complicate things that much? There not so much code actually that is duplicated. We can have a brainstorming session if that's fine with you.

@zugao zugao force-pushed the mariadb-backup branch 2 times, most recently from 6553b57 to 6494391 Compare June 20, 2024 09:56
@zugao zugao merged commit a609317 into master Jun 20, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants